﻿using Shop.RemoteModel;
using Shop.RemoteModel.PageModuleList;
using Shop.RemoteModel.PageModuleList.Model;
using Shop.StoreGatewayModular.Interface;

namespace Shop.StoreGatewayModular.Service
{
    internal class ModuleListService : IModuleListService
    {
        public PageModuleDto[] Gets ( PageUseRange range )
        {
            return new GetPageModuleList
            {
                UseRange = range
            }.Send();
        }
    }
}
